package com.ideaaedi.zoo.diy.artifact.shardingsphere;

import com.ideaaedi.zoo.diy.artifact.shardingsphere.properties.ZooShardingsphereDIYGuideProperties;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

/**
 * shardingsphere 自动配置
 */
@EnableConfigurationProperties({ZooShardingsphereDIYGuideProperties.class})
@ConditionalOnProperty(value = ZooShardingsphereAutoConfiguration.ENABLE, havingValue = "true", matchIfMissing = true)
public class ZooShardingsphereAutoConfiguration {
    
    public static final String ENABLE = "zoo.switch.artifact-shardingsphere.enable";

}